package com.example.projectcode.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {

    @TableId(value = "teaId",type = IdType.AUTO)
     private Integer teaId;
    @TableField("teaName")
     private String teaName;
    @TableField("teaNumber")
     private Integer teaNumber;
    @TableField("teaPhone")
     private String teaPhone;
    @TableField("teaEducation")
     private String teaEducation;
    @TableField("teaSchool")
     private String teaSchool;
    @TableField("teaPosition")
     private String teaPosition;

    @TableField("teaUsername")
    private String teaUsername;

    @TableField("teaPassword")
    private String teaPassword;
}
